package com.tiantianyuegou.model;

import java.io.Serializable;

/**
 * 优惠券的实体类
 * Created by ivany on 2016/1/13.
 */
public class CouponModel implements Serializable {
    private int id;
    private String value;
    private String condition;
    private String name;
    private String number;
    private String startDate;
    private String endDate;
    private boolean isSelect;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setIsSelect(boolean isSelect) {
        this.isSelect = isSelect;
    }

    public CouponModel(){}
    public CouponModel(int id, String value, String condition, String name, String number, String startDate, String endDate) {
        this.id = id;
        this.value = value;
        this.condition = condition;
        this.name = name;
        this.number = number;
        this.startDate = startDate;
        this.endDate = endDate;
    }
}
